package com.xv.yan.service.impl;

import com.xv.yan.beans.entity.AdminDo;
import com.xv.yan.dao.AdminDao;
import com.xv.yan.dao.impl.AdminDaoImpl;
import com.xv.yan.service.AdminService;

public class AdminServiceImpl implements AdminService {
    /**
     * 找了半天    错在这里
     */
    AdminDao adminDao = new AdminDaoImpl();
    @Override
    public AdminDo validateLogin(String userName) {
        return adminDao.validateLogin(userName);
    }
}
